package cn.springcloud.fix.demo.design.observer;

public class LittleBoyImpl implements LittleBoy {

    private String name;

    public LittleBoyImpl(String name) {
        this.name = name;
    }

    @Override
    public void receivedMsg(String newMsg) {
        System.out.println(name + "收到美女发的朋友圈：" + newMsg);
    }
}
